<?php
/**
 * @package WordPress
 * @subpackage Default_Theme
 */

get_header(); ?>
<div id="container">
	<div id="content" class="narrowcolumn">

		<?php if(have_posts()) : while (have_posts()) : the_post(); ?>

 <div class="content_text"> 
 <div class="title"> 
    <a href="<?php the_author_meta('user_url'); ?>" class="avatar"><?php echo get_avatar( get_the_author_meta('user_email'), '43', '' ); ?>"<span><?php echo get_avatar( get_the_author_meta('user_email'), '43', '' ); ?>"</span></a> 
    <i class="line_h"></i> 
    <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 
    <p><?php the_author_posts_link(); ?> / <?php the_category(',') ?> / <?php the_time('Y年m月d日'); ?></p> 
    <span class="comments"><?php comments_popup_link('0', '1', '%', 'up'); ?></span>
    </div>
	<div class="content_banner">
    <div class="text1"><?php the_content(); ?></div>
    </div>


</div> 

		<?php endwhile; ?>

<div class="pagenavi"><?php pagenavi(); ?></div>

	<?php else : ?>

		<h2 class="center">No posts found. Try a different search?</h2>
		<?php get_search_form(); ?>

	<?php endif; ?>


</div>
<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>